package cn.iocoder.yudao.module.of.controller.admin.taskapprovalhistory.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 记录任务的审批历史信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TaskApprovalHistoryPageReqVO extends PageParam {

    @Schema(description = "任务编号", example = "25833")
    private Long taskId;

    @Schema(description = "任务的审批状态：1待审批、2审批通过、3审批不通过", example = "2")
    private Integer approvalStatus;

    @Schema(description = "审批人id", example = "449")
    private Long approvalUserId;

    @Schema(description = "审批意见")
    private String approvalOpinion;

    @Schema(description = "审批时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] approvalTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}